package com.boot.mgt.service

import com.boot.core.result.ResultTo
import com.boot.mgt.model.vo.TaPoliceSituationMonitoringVo
import com.googlecode.jsonrpc4j.JsonRpcService

@JsonRpcService("policeSituation")
interface TaPoliceSituationMonitoringService {

    fun list(page_index: Int?, page_size: Int?, map: MutableMap<String, Any>): ResultTo

    fun searchTaPoliceSituationMonitoringList(map: Map<String, Any>?): List<TaPoliceSituationMonitoringVo?>?

    fun searchTaPoliceSituationMonitoringTimeRange(id: Long?, regionId: String?): Map<String, TaPoliceSituationMonitoringVo?>?

    fun detail(id: Long?, timeTag: String?, regionId: String?): TaPoliceSituationMonitoringVo?

    fun detailSum(id: Long?, timeTag: String?, regionId: String?): TaPoliceSituationMonitoringVo?

    fun update(taPoliceSituationMonitoringVo: TaPoliceSituationMonitoringVo): Int?

    fun insert(taPoliceSituationMonitoringVo: TaPoliceSituationMonitoringVo): Int?

    fun delete(map: Map<String, Any>?): Int?

    fun doMonitorAction(actionTagMap: Map<String, Any?>): Int?

//    fun searchOvertimeResultList(map: Map<String, Any>?): List<Map<String, Object>>;
    fun searchOvertimeResultList(map: Map<String, Any>?): List<TaPoliceSituationMonitoringVo?>?

    fun searchOvertimeOfTimeRangeResultList(map: HashMap<String, Any>?): List<TaPoliceSituationMonitoringVo?>?

    fun searchAverageActionTime(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchStatisticsOfActionIn24H(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchDistributionOfPolice(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchDistributionOfPoliceAction(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchNoticeMessage(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchRecentDeathSummary(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

    fun searchDeathAccidentToday(map: HashMap<String, Any>?) : List<Map<String, Any?>?>?

}